<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<%@page import="bdcin.classesbasicas.Tese"%>
<%@page import="java.util.List"%>
<html>
<head>
<title>Resultados da busca</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>


<%
	List<Tese> teses = (List<Tese>)request.getAttribute("teses");


%>

<body>

<div align="center">
  <h1>BDCIn</h1>
  <p>&nbsp;</p>
  <p>Configurar docentes </p>
<form name="formulario" method="post" action="./Controlador?action=tese.CadastrarTeseAction">
  <p>
    <input type="submit" name="Submit2" value="Editar">
    <input type="submit" name="Submit3" value="Remover">
</p>
  <table width="329" height="261" border="1">
    <tr>
      <th scope="col">&nbsp;</th>
      <th scope="col">Nome</th>
    </tr>
    
    <%
    if(teses != null && teses.size() > 0) { 
    	for(Tese tese : teses) {%>
    		<tr>
    	      <td><input name="radiobutton" type="radio" value="radiobutton"></td>
    	      <td><div align="center"><%=tese.getTitulo()%> </div></td>
    	    </tr>
    	    
    	<%}
    	
    }else {
    	
    	
    	
    }
    
    %>


  </table>
</form>
</div>
</body>
</html>
